/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package servidor_calculadora;

import Negocio.S_Calculadora;
import java.rmi.Remote;
import java.rmi.registry.LocateRegistry;
import java.rmi.registry.Registry;

/**
 *
 * @author Dvid
 */
public class Servidor_Calculadora {

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {
        try{
           Registry registro = LocateRegistry.createRegistry(7777);
           registro.rebind("Calculadora", new S_Calculadora());
           
           
        }
        catch(Exception ex){
            System.out.print(ex.getMessage());
        }
    }
    
}
